package service;

import pojo.Function;
import pojo.User;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by Administrator on 2017-11-21.
 */
public interface LoginService {
    User checkLogin(String username, String password) throws SQLException;

    List<Function> getFunction(int roleId,String functionDoc) throws SQLException;

    List<Function> getFunctionDoc() throws SQLException;

    Function checkUrl(int roleId, String urls) throws SQLException;
}
